home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6035 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  973 b 

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: sguit@aol.com (SGUIT)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Dialog Background color help in Visual C++
  5. Date: 11 Feb 1996 14:20:56 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4flfio$a78@newsbf02.news.aol.com>
  9. References: <30f32cb0.18382175@news.magic.mb.ca>
  10. Reply-To: sguit@aol.com (SGUIT)
  11. NNTP-Posting-Host: newsbf02.mail.aol.com
  12.  
  13. Go to your main .cpp file.  For example if your program is called
  14. pmix....go to pmix.cpp and edit this:
  15.  
  16. BOOL CPmixApp::InitInstance()
  17. {
  18.     // Standard initialization
  19.     // If you are not using these features and wish to reduce the size
  20.     //  of your final executable, you should remove from the following
  21.     //  the specific initialization routines you do not need.
  22.  
  23.     SetDialogBkColor(RGB(128,128,128),RGB(255,255,255));// Sets
  24. background to dark gray w/ white text 
  25.  
  26. To change to blue...change the first one to: (0, 255, 255)
  27.  
  28. Good luck
  29.